package com.wangzhixuan.mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.wangzhixuan.model.Recordings;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;


/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-08-13
 */
public interface RecordingsMapper extends BaseMapper<Recordings> {

	List<Recordings> selectRecordingsPage(Pagination page, Map<String, Object> params);

	List<Map<String, Object>> selectRecordings(
			@Param("id")Integer id,@Param("meetType")String meetType);
	
	List<Map<String, Object>> selectVisitRecordings(@Param("userId")Integer userId,@Param("meetingId")Integer meetingId,
			@Param("meetType")String meetType,@Param("nowTime")Date nowTime,
			@Param("visitTime")Date visitTime);
	
}